package com.bzgwl.mybatis_plus.utils;

public class UrlPathMatcher {

	public boolean pathMatchesUrl(String url,String resURL){

		if(url.contains("?")){
			url = url.substring(0,url.indexOf("?"));
		}
		if(url.equals(resURL)){
			return true;
		}		
		return false;
	}
	
}
